package com.ParkingManager.app.service.impl;


import java.sql.Timestamp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ParkingManager.app.bean.Cash;
import com.ParkingManager.app.dao.CashMapper;
import com.ParkingManager.app.service.CashService;
@Service
public class CashServiceImpl implements CashService {

	@Autowired
	private CashMapper  cashMapper;
	/*@Override
	public List<Cash> getCashList(Timestamp enterTime, Timestamp leaveTime) {
		// TODO Auto-generated method stub
		return cashMapper.getCashList(enterTime, leaveTime);
	}*/

	public List<Cash> getCashList(Timestamp time) {
		// TODO Auto-generated method stub
		return cashMapper.getCashList(time);
	}

}
